tools/restore: Drop unused parameters from xc_domain_restore()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 3 Jan 2020 17:06:51 +0000 (17:06 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 3 Jan 2020 18:37:25 +0000 (18:37 +0000)
commit1171a93b6ca71894f17715050e9289befff0951d
treee6cdcbf60b972c79defbe580a31888cf3139c2e6
parenta44d982b14b8ed297d5a687f949afd20059a324e
tools/restore: Drop unused parameters from xc_domain_restore()

The hvm and pae parameters are a remnant of legacy migration.  They have 0
passed in from libxl_stream_read.c's process_record(), and are discarded in
xc_domain_restore().

While dropping these, update the doxygen comment to be accurate, and simplify
the other hvm vs pv handling in xc_domain_restore().

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/include/xenguest.h
tools/libxc/xc_nomigrate.c
tools/libxc/xc_sr_restore.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_save_callout.c
tools/libxl/libxl_save_helper.c
tools/libxl/libxl_stream_read.c